package com.tm.d6_singlelnstance;
/**
 * 2024/5/17 Cjj  饿汉式单例设计模式  16:53
 */
public class Test1 {
    public static void main(String[] args) {
        A a1 = A.getObject();
        A a2 = A.getObject();
        System.out.println(a1);
        System.out.println(a2);


    }
}
